html,
body,
.app-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.ztree * {
    box-sizing: content-box;
    width: 200px;
    /* font-weight: 500; */
}

.ztree .treeNodeDiv {
    height: 22px;
}

#app.layui-layout {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#app.layui-layout .body-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

#app .layui-side,
#app .layui-body {
    position: static;
    height: 100%;
}

#app .layui-side {
    width: calc(100% - 2px);
    z-index: 0;
    border-right: 1px solid var(--system-main-borderColor);
}

#app .body-content .body-left {
    position: relative;
    width: 400px;
}

#app .sidebar-draggable-icon {
    background-color: transparent;
    cursor: col-resize;
    height: 100%;
    position: absolute;
    right: -4px;
    top: 0;
    width: 8px;
    z-index: 99;
}

#app .layui-side-scroll {
    width: 100%;
}

#app .layui-body {
    margin-left: -1px;
    flex: 1;
    z-index: 0;
    width: calc(100% - 400px);
    /* height: calc(100vh - 53px); */
}

.pear-tab {
    /* height: auto; */
    height: 100%;
    /* 撑开padding让底部滚动条圆角完全显示 */
    /* padding-bottom: 31px; */
    /* overflow-y: scroll; */
}

.layui-tree-txt {
    font-weight: bold;
}

.layui-tree-set-active>.layui-tree-entry .layui-tree-main {
    background: #ddd;
}

.layui-form-label {
    padding: 5px 15px !important;
}

.layui-input,
.layui-select,
.layui-textarea {
    height: 28px !important;
}

.layui-form-item {
    margin-bottom: 0px !important;
}

.gs-col-left {
    padding: 10px;
}

.gs-col-right {
    padding: 0px 0px 10px 0;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 350px;
    margin-bottom: 40px;
}

.gs-body {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 53px);
    overflow: hidden;
    /*background-color: #f5f5f5;*/
}

.gs-body .gs-body-box {
    flex: 1;
    overflow-y: auto;
}

.gs-body .console-box {
    height: 30%;
    background-color: #F5F6F9;
    border-top: 1px solid #e9ebed;
    position: relative;
}

.gs-body .console-box .console-box {
    height: calc(100% - 9px);
}

.site-demo-result>.layui-bg-gray {
    padding: 10px 10px 50px;
}

.layui-layout-admin .layui-logo {
    width: 840px;
}

.layui-layout-admin .layui-side {
    background-color: #f5f5f5;
}

.layui-side-scroll {
    overflow-x: auto;
    height: 100%;
}

.layui-tab-title {
    border-bottom-width: 0px;
    border-bottom-style: none;
}

.layui-side-resource {
    height: 50%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 200px;
    overflow-x: hidden;
}

.layui-side-properties {
    height: 50%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 200px;
    overflow-x: hidden;
}

.box {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* height: calc(100vh - 53px); */
    background-color: var(--system-main-bgColor);
}

.box1 {
    flex: 1;
    overflow: auto;
}

.box2 {
    height: 30%;
    /* height: 400px; */
    background-color: #F5F6F9;
    border-top: 1px solid #e9ebed;
    position: relative;
    /* overflow: hidden; */
}

.box2 .properties-drag {
    position: absolute;
    height: 10px;
    width: 100%;
    background-color: transparent;
    cursor: row-resize;
    top: -5px;
    z-index: 99;
}

.console-box .console-drag {
    position: absolute;
    height: 10px;
    width: 100%;
    background-color: transparent;
    cursor: row-resize;
    top: -5px;
    z-index: 99;
    overflow-y: auto;
}

.layui-tab {
    margin: 0;
}

.layui-form-label {
    width: auto;
}

.layui-layout-admin .layui-header {
    background-color: #74767d;
}

.layui-elem-field legend {
    margin-left: 0px;
    padding: 0 5px;
    font-size: 16px;
    font-weight: 400;
}

.layui-field-title {
    margin: 0px 10px 10px 5px
}

.content .header {
    background-color: var(--system-main-bgColor);
    border-bottom: 1px solid var(--system-main-borderColor);
}

.content .header {
    height: 34px;
    line-height: 31px;
    /*background-color: cornflowerblue;*/
    display: flex;
    justify-content: space-between;
}

.content .header .header-left {
    width: 650px;
    overflow-x: auto;
    /*background-color: aliceblue;*/
}

#header-left {
    padding: 0 20px;
}

#header-left .layui-breadcrumb {
    visibility: inherit;
    font-size: 16px;
    color: #ddd;
}

#header-left .layui-breadcrumb a {
    color: #666 !important;
    padding: 3px;
}

#header-left span.layui-breadcrumb a:hover {
    background-color: rgb(245, 246, 249);
}

.content .header .header-right {
    width: 650px;
}

tr.pq-grid-oddRow {
    background: #f5f6f9;
}

div.pq-toolbar button {
    margin: 0px 5px;
}

button.delete_btn {
    margin: -3px 0px;
}

tr.pq-row-delete {
    text-decoration: line-through;
}

tr.pq-row-delete td {
    background-color: pink;
}

.pq-grid-footer.pq-pager {
    display: flex;
}

.pq-slider-icon.pq-no-capture {
    display: flex;
}

.pq-ui-button.disabled {
    /*background: #ccc;*/
    color: #ccc;
}

.pq-ui-button {
    cursor: pointer;
    margin-left: 3px;

}

.ui-widget {
    font: 14px Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;

}

div.pq-grid,
div.pq-pager,
.pq-grid-title,
.pq-grid .ui-widget-header,
div.pq-toolbar {
    border-color: #ede8e8;
}

.ui-front {
    z-index: 1000;
}

.layui-layout-admin .layui-body {
    left: 400px;
}

#content .layui-tab-item {
    overflow-y: auto;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #F5F5F5;
}

/*定义滚动条轨道内阴影+圆角*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

/*定义滑块内阴影+圆角*/
::-webkit-scrollbar-thumb {
    border-radius: 6px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #aaa;
}

.padding10 {
    padding: 10px;
}

#content .layui-tab-title {
    border-top: none;
    position: sticky;
    overflow-x: auto;
    top: 0;
    z-index: 2;
}

.layui-tab-title::-webkit-scrollbar {
    display: none;
}

.layui-tab-title::-webkit-scrollbar {
    width: 0;
    background: 0 0;
}

.pear-tab.layui-tab-rollTool .layui-tab-brief .domainTabs {
    padding-right: 10px;
    padding-left: 0px;
}

.domainTabs .buttonBox {
    float: right;
    margin-top: 1px;
}

.layui-btn-warm.publish {
    background-color: #4b5563;
}

.header-left #header-left {
    /* margin-top: 9px; */
}

.ui-widget.ui-widget-content {
    border: 1px solid #ede8e8;
}

#testDialogContent {
    padding: 20px;
}

.layui-tab-title,
.layui-tab-title li {
    height: 30px;
    line-height: 30px;
}

.layui-tab-title .layui-this:after {
    height: 32px;
}

.domainSave {
    background-color: #4b5563;
    color: #fff;
    border: none;
}

.domainSave:hover {
    color: #fff;
}

.pq-toolbar .ui-button {
    padding: 0.2em 0.3em;
}

#content {
    overflow-y: hidden;
    overflow-x: hidden;
}

.layui-layout-admin .layui-body {
    padding-bottom: 0px;
}

.header-right .layui-nav {
    background-color: rgb(245, 246, 249);
}

/* .header-right .layui-nav .layui-nav-item{
    line-height: 42px;
} */
.header-right .layui-nav .layui-this:after {
    height: 0px;
}

.header-right .layui-nav .layui-nav-item a {
    color: #666;
}

.header-right .layui-nav .layui-nav-item a:hover {
    background-color: rgb(245, 246, 249);
}

.header-right .layui-nav-bar {
    display: none;
}

.header-right .layui-nav-child {
    top: 40px;
}

.header-right .layui-anim-upbit {
    z-index: 9999;
}

.header-right .layui-nav .layui-nav-child dd.layui-this a {
    color: rgba(0, 0, 0, .8);
}

.box1 .layui-tab-content {
    padding: 5px;
}

#viewForm {
    overflow-y: auto;
    /* overflow-y: hidden ; */
}

#viewForm>.amis-routes-wrapper {
    overflow-y: auto;
}

#viewForm>.amis-routes-wrapper .cxd-Form-item--horizontal>.cxd-Form-label {
    text-align: left;
    padding-left: 10px;
}

#viewForm>.amis-routes-wrapper .cxd-TextControl-input {
    border-radius: 1px;
    /* background-color: #fff; */
}

#viewForm>.amis-routes-wrapper .cxd-Form-value {
    padding-left: 0px;
}

#viewForm>.amis-routes-wrapper .cxd-Form-item--horizontal {
    margin-bottom: 0.3em;
}

#content .layui-tab-item .cxd-Page-body>iframe {
    height: calc(100vh - 120px) !important;
}

#run {
    font-weight: 700;
    height: 30px;
    line-height: 30px;
    padding: 0 22px;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-top: 2px;
    box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, .2);
}

#run i {
    font-size: 14px;
}

#viewForm .amis-routes-wrapper>form,
#viewForm .cxd-Panel-body,
#viewForm {
    background-color: var(--system-main-bgColor);
}

#viewForm .cxd-Panel--default,
#viewForm .cxd-Panel-body {
    border: none;
    box-shadow: none;
}

#run:disabled {
    background-color: #ede8e8;
    cursor: default;
}

#run:disabled:hover {
    background-color: #ede8e8;
    color: #fff;
}

.layui-layout-right .layui-nav-img {
    margin-right: 1px;
}

.amis-scope .cxd-DropDown-menu>li a:hover {
    background-color: rgb(234, 246, 254);
}

.amis-scope button.layui-btn-xs {
    font-size: 12px;
}

.content .layui-layout-right {
    top: -1px;
}

.amis-scope .layui-tab-content>.layui-tab-item.item-pgGride {
    width: 100%;
}

/* 解决右侧内容区侧出现的滚动条 */

#content .pear-tab>div,
#content .pear-tab>ul {
    box-sizing: content-box;
    /* padding: 0;
    margin: 0; */
}

#content .pear-tab>div .amis-scope {
    box-sizing: border-box;
}

.amis-scope .layui-layer .layui-layer-ico {
    background: url(../compoment/layui/dist/css/modules/layer/default/icon.png);
}

.amis-scope .layui-layer-setwin .layui-layer-close1 {
    background-position: 1px -40px;
}

.amis-scope .cxd-Modal .cxd-Modal-header .cxd-Modal-close:hover {
    background-color: transparent !important;
}

.layui-layout-right .layui-nav-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.layui-nav.layui-layout-right .layui-nav-item a {
    padding: 0 10px;
}


.layui-side .layui-tab-title {
    /* height: 65px; */
    height: 70px;
    padding-top: 0;
    background-color: var(--system-main-tab-bgColor);
}

.layui-side .layui-tab-title li {
    padding: 0;
    border: 1px solid #e1e3e5;
    margin-left: -1px;
    padding-top: 4px;
    height: 65px;
}

.layui-side .layui-tab-title li span {
    font-size: 13px;
}

.layui-side .layui-tab-title li {
    /* display: flex; */
    text-align: center;
}

.layui-side .layui-tab-title .layui-this:after {
    height: 77px;
}

.layui-side-scroll ul.layui-tab-title li {
    color: #6b7280;
    font-size: 14px;
}

.layui-side-scroll ul.layui-tab-title li i {
    display: block;
    height: 30px;
    width: 30px;
    /* background: url(../compoment/@ztree/ztree_v3/css/zTreeStyle/img/icon_new.png) no-repeat scroll 0 0 transparent; */
    /* margin-left: 10px; */
}

.layui-side-scroll ul.layui-tab-title li i.resource {
    mask: url(../image/tabs/resource.svg) no-repeat 100% 100%;
    background-color: #e8b18b;
    /* background-position: -140px -477px; */
}

.layui-side-scroll ul.layui-tab-title li i.workflow {
    mask: url(../image/tabs/workflow.svg) no-repeat 100% 100%;
    background-color: #7db4e8;
    /* background-position: -308px -477px; */
}

.layui-side-scroll ul.layui-tab-title li i.system {
    mask: url(../image/tabs/sys_module.svg) no-repeat 100% 100%;
    background-color: #e8b18b;
    /* background-position: -195px -477px; */
}

.layui-side-scroll ul.layui-tab-title li i.brms {
    mask: url(../image/tabs/rule_obj.svg) no-repeat 100% 100%;
    background-color: #7db4e8;
    /* background-position: -416px -428px; */
}

.layui-side-scroll ul.layui-tab-title li.layui-this i.resource {
    mask: url(../image/tabs/resource.svg) no-repeat 100% 100%;
    background-color: #e88123;
    /* background-position: -26px -476px; */
}

.layui-side-scroll ul.layui-tab-title li.layui-this i.workflow {
    mask: url(../image/tabs/workflow.svg) no-repeat 100% 100%;
    background-color: #1682ee;
    background-position: -140px -372px;
}

.layui-side-scroll ul.layui-tab-title li.layui-this i.system {
    mask: url(../image/tabs/sys_module.svg) no-repeat 100% 100%;
    background-color: #e88123;
    /* background-position: -81px -476px; */
}

.layui-side-scroll ul.layui-tab-title li.layui-this i.brms {
    mask: url(../image/tabs/rule_obj.svg) no-repeat 100% 100%;
    background-color: #1682ee;
    background-position: -307px -428px;
}

.layui-side-scroll ul.layui-tab-title li span {
    display: block;
    width: 100px;
    text-align: center;
    text-align: -webkit-center;
    margin-top: 2px;
}

.box1 {
    height: calc(60vh - 53px);
    overflow-y: hidden;
}

.box1>.layui-side-scroll>div>.layui-tab-title>.layui-tab-bar {
    display: none !important;
}

.box1 .layui-tab {
    height: calc(100% - 80px);
}

.box1 .layui-tab-content {
    height: 100%;
    max-height: 100%;
    /* background-color: #fff; */
}

.box1 .layui-tab-content .layui-tab-item {
    height: 100%;
}

.box1 ul.ztree {
    height: 100%;
    margin: 0px;
    overflow-y: auto;
}

.box1 ul.ztree>li {
    /* max-height: 100%; */
    /* overflow-y: auto; */
}

.box1 .layui-tab-brief>.layui-tab-title .layui-this {
    background-color: var(--system-main-bgColor);
    color: #151a26;
    border-bottom: 1px solid var(--system-main-bgColor);
    /* color: #1296dc; */
}

.layui-tab-brief>.layui-tab-title .layui-this:after {
    border-bottom: none;
}

#content .layui-tab-brief .layui-tab-content>div,
#content .layui-tab-brief .layui-tab-content>div>div {
    /* height: calc(100vh - 111px); */
    height: calc(100% - 200px);
    overflow-y: auto;
}

.amis-scope .cxd-Picker-input {
    text-align: left;
}

/*.amis-scope .cxd-Form-group--hor>* {*/
/*    !* padding: 0; *!*/
/*    width: 630px;*/
/*}*/

.w650 .cxd-Picker-input {
    width: 650px;
}

.amis-scope .cxd-Grid-col--md2 .cxd-ButtonGroup>.cxd-Button {
    margin-right: 6px;
}

ul.ztree .currentNode {
    background-color: #e5e7eb;
}

.amis-scope .pear-tab-menu li {
    height: 30px;
}

.amis-scope .pq-grid {
    box-shadow: 0 0.0625rem 0.0625rem rgba(0, 0, 0, 0.05);
}

.box2 .content {
    padding: 3px 0 0 0;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.box2 .content .layui-row,
.box2 .content .layui-row #viewForm_container {
    /* height: calc(100% - 19px); */
    height: 100%;
}

#viewForm>.amis-routes-wrapper .layui-elem-field {
    border: none;
}

#viewForm>.amis-routes-wrapper  .layui-field-title {
    margin: 2px 10px;
    padding: 2px 3px;
    border-bottom: 1px solid #dfe1e3;
}

#viewForm>.amis-routes-wrapper .cxd-Form {
    margin: 0px 12px;
    padding-top: 10px;
}

#viewForm>.amis-routes-wrapper .cxd-TextControl-input {
    padding: 3px 5px;
    border-radius: 4px;
}

#viewForm>.amis-routes-wrapper .cxd-Form-label {
    font-size: 14px;
    font-family: "Microsoft YaHei";
    font-weight: 700;
    font-size: 88%;
    color: #333;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight {
    color: #333;
}

.amis-scope .cxd-Drawer--left .cxd-Drawer-close {
    background: transparent;
}

.amis-scope .cxd-DropDown-button .bg-primary,
.amis-scope .cxd-DropDown-button .bg-danger {
    background: transparent;
}

/* 右侧滚动条 */
#content>.pear-tab>.layui-tab-content {
    height: calc(100vh - 100px);
    /* height: 100%; */
}

#content .cxd-Table-fixedTop.in {
    top: 76px !important;
}

.header .layui-layout-right {
    margin-top: 1px;
    width: 45%;
    text-align: right;
    padding-right: 0px;
    height: 27px;
}

.header .layui-layout-right li {
    height: 26px;
    display: inline-block;
    line-height: 26px;
    padding: 0 8px;
}

.header .layui-layout-right li:not(:first-child) {
    border-left: 1px solid #ddd;
}

.box1 .layui-tab-title li {
    border-top: none;
    box-shadow: none;
}

/* 右键菜单 */
.layui-dropdown {
    border-radius: 3px;
}

ul.layui-menu {
    padding: 0px;
    margin: 0px;
    min-width: 200px;
}

.layui-menu li {
    display: flex;
    padding: 1px 13px;
    margin: 0px;
    line-height: 30px;
}

.layui-menu li .icon {
    height: 20px;
    width: 20px;
    margin-right: 5px;
    margin-top: 5px;
    /* background-color: red; */
    display: inline-block;
}

.layui-menu li div:not(.layui-menu-body-panel) {
    display: inline-block;
}

.layui-layout-admin #layui-footer {
    position: static;
    border-top: 1px solid var(--system-main-borderColor);
    left: 0px;
    height: 22px;
    line-height: 20px;
    background-color: var(--system-main-bgColor);
    box-shadow: none;
    text-align: right;
    font-size: 12px;
}

.layui-layout-admin .footer span {
    margin-left: 15px;
    font-weight: 700;
    color: #666;
}

/* console面板 */
#console-content,
#console-content .layui-tab {
    height: 100%;
}

#console-content .layui-tab .layui-tab-content {
    height: calc(100% - 20px);
    width: 100%;
    overflow: auto;
}

#console-content .layui-tab-title {
    height: 20px;
    line-height: var(--system-console-tabHeight);
    border-bottom: 1px solid var(--system-main-borderColor);
    background-color: rgb(239, 240, 242);
}

#console-content .layui-tab-title li {
    height: var(--system-console-tabHeight);
    line-height: var(--system-console-tabHeight);
    font-size: 12px;
    border: 1px solid var(--system-main-borderColor);
    margin-left: -1px;
    color: #666;
    border-top: none;
}

#console-content .layui-tab-title li.layui-this {
    background-color: var(--system-console-tabActive-bgColor);
    border-bottom-color: var(--system-console-tabActive-bgColor);
    color: #333;
}

#console-content .layui-tab-title .iconBox {
    padding: 0 5px;
}

#console-content .layui-tab-title .iconBox .layui-icon {
    cursor: pointer;
}

#console-content .layui-tab-content {
    padding: 10px;
}

.layui-layer-btn:hover .layui-layer-btn0:hover {
    /* color: black; */
    background-color: #4fb0ff;
    border-color: #4fb0ff;
}

.amis-scope .cxd-Crud-selectionClear:hover {
    background-color: transparent;
}

.layui-tab-brief>.layui-tab-title .layui-this {
    color: #fff;
    background: rgb(79, 158, 238);
}

.pear-tab .layui-tab-title .layui-this .pear-tab-active {
    background-color: rgb(79, 158, 238);
}

#amisDialogContent {
    height: auto;
}

.header-right .layui-nav .layui-nav-more {
    top: 3px;
}

/* 解决弹框滚动栏 */
.dialog>.cxd-Modal-content,
.amis-dialog-widget>.cxd-Modal-content {
    /* max-height: calc(100vh - 200px); */
}

.dialog>.cxd-Modal-content>.cxd-Modal-body,
.amis-scope .cxd-Modal-header+.cxd-Modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.amis-scope .cxd-Modal-body {
    padding: 0.75rem 1rem 1rem;
}

.amis-scope .cxd-Modal-footer {
    margin-top: 20px;
}

/* .amis-scope a:hover {
    background: transparent;
    color: blue;
} */
.amis-scope .cxd-Drawer-close:hover {
    background-color: transparent;
}

.amis-scope a:hover {
    background-color: transparent;
}

.amis-scope .cxd-IconPickerControl-valueWrap>input {
    /* margin-left: -100px; */
    /* width: 100px; */
}

.amis-scope .cxd-IconPickerControl-value {
    width: 80%;
}

.cxd-IconPickerControl-sugsPanel {
    /*  */
}

/* .amis-scope .w {
    width: 600px !important;
} */

.amis-scope .cxd-Form-group--hor>* {
    width: 300px;
}

.layui-layer-btn .layui-layer-btn0:hover {
    background-color: rgb(53, 169, 255);
    color: #fff;
}

/* 悬浮遮盖 */
.cxd-Tooltip--bottom {
    margin-top: 45px !important;
}

.cxd-Tooltip--top {
    margin-top: 25px !important;
}


/* .amis-scope .cxd-Page {
    width: 100%;
    max-height: 400px !important;
    height: 100%;
    background: var(--Page-main-bg);
} */

/* .amis-scope .cxd-Crud-pageSwitch {
    height: 340px !important;
} */

/* .amis-scope .cxd-Modal--2th .cxd-Modal-content {
    height: 450px;
} */